<?php
class Myvalidate_LessThan extends Zend_Validate_Abstract
{
    const NOT_LESS =  'notLessThan';
    protected $_messageTemplates = array(self::NOT_LESS => "notFloat");
    private $max;
    
    public function __construct($value){
    	$this->max = $value;
    }
    
    public function isValid ($value)
    {
        $this->_setValue($value);
    	if ($value < $this->max) {
			$this->_error();
            return false;
        }
        return true;
    }
    
}

